package com.cloud.monitor.sys.controller;

import com.cloud.monitor.sys.service.RecommendService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @author wurj
 * @time 2020/4/26 20:47
 * @description
 */

@RestController
public class RecommendController {
    @Autowired
    RecommendService recommendService;

    @RequestMapping(value = "/settasktimevalue")
    public void setTaskTimeLimit(HttpServletRequest httpServletRequest){
        String taskname=httpServletRequest.getParameter("tasktime");
    }

    @RequestMapping(value = "/settaskresponsevalue")
    public void setTaskresponseLimit(HttpServletRequest httpServletRequest){
        String taskfirstResponse=httpServletRequest.getParameter("taskfirstResponse");
    }

    @RequestMapping(value = "/settaskreconcurrencyvalue")
    public void setTaskconcurrencyseLimit(HttpServletRequest httpServletRequest){
        String taskconcurrency=httpServletRequest.getParameter("taskconcurrency");
    }

    @RequestMapping(value = "/setcpuvalue")
    public void setcpuLimit(HttpServletRequest httpServletRequest){
        String cpu=httpServletRequest.getParameter("cpu");

    }


    @RequestMapping(value = "/setmemoryvalue")
    public void setmemoryLimit(HttpServletRequest httpServletRequest){
        String memory=httpServletRequest.getParameter("memory");
    }

    @RequestMapping(value = "/setdiskvalue")
    public void setdiskLimit(HttpServletRequest httpServletRequest){
        String disk=httpServletRequest.getParameter("disk");
    }

    @RequestMapping(value = "/setnetinputvalue")
    public void setnetinputLimit(HttpServletRequest httpServletRequest){
        String netinput=httpServletRequest.getParameter("netinput");
    }

    @RequestMapping(value = "/setnetoutputvalue")
    public void setnetoutputLimit(HttpServletRequest httpServletRequest){
        String netoutput=httpServletRequest.getParameter("netoutput");
    }
}
